package com.baiye.www.spring.ioc.bean;

/**
 * bean类中引用的对象
 *
 * @author baiye
 * @version 1.0
 * @date 2021/12/11 18:24
 */
public class BeanReference {

    private String name;

    private Object bean;

    public BeanReference(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }
}
